Sync your animations to the music without the hassle of timing individual keyframes!
Explanation of what the controls do:
- Call This: This is what outputs the beat loop animation. Use an expression to call this control in another fuse.
- Start Time: Sets the frame where the first beat on the first loop starts.
- Loop Length: This is how long the loop is.
- Animation: This is what gets played at the start of each activated beat. Animate this.
- Frame to Start Reading Animation: Indicates which frame the animation starts to read from when copying it to the loop.
- Hold Frame: Sets the frame of the animation that is returned when there is no beat being played. Put this on a frame that is after your source animation is finished playing.
- Loops Forward: Sets how many times the loop is played in front of the start time. Set it to negative to have the loop loop forever.
- Loops Backward: Sets how many times the loop is played behind the start time. Set it to negative to have the loop loop forever.
- Wait Between Loops: Adds a delay between loops.
- Additive Beats: Checking this replaces the animation with a counter that increments with every active beat.
- Additive Beat Offset: Sets where the Additive Beat starts when the comp is at the Start Time frame.
Optional Controls:
- BPM to Loop Length Calculator: I added this to give people a quick way of converting the BPM and composition's frame rate to a length of time that could be inputted into the loop length calculator. I didn't do it, but I would recommend linking the Loop Length to the BPM to Loop Length Output, as it lets you just input the BPM to get accurate loops independent of frame rate. I also suggest keeping the number of beats in a loop at four until you know what you are doing.
I wrote a description of the macro, but it kinda sucks because I suck at writing in general. Read at your own peril.
This macro splits a variable (and non-integer) length of time into 16 pieces. You can pick which of those pieces you want an animation to play on via the checkboxes. Each checkbox represents the start of each 1/16 of the length. This then loops a variable number of times forwards and/or backwards. Features include setting a delay in-between loops, a way to easily convert the BPM to a length, and an option to increment a number up instead of playing the animation.